package fr.upmc.tep.lambda.evaluation.types;

/**
 * This class represents a node. Its constructor needs a parent node so that
 * each type of node that extends this class has a parent to refer to.
 * 
 * @author Fabrice Reynaud, Yihan Wang
 *
 */
public abstract class LNode{

	private LNode parent;	
	
	public LNode(LNode parent) {
		this.parent = parent;
	}

	public LNode getParent() {
		return parent;
	}

	public void setParent(LNode parent) {
		this.parent = parent;
	}
	
	public abstract String toLambdaExpression();
}
